package com.zouma.dao;

import com.zouma.pojo.User;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @Author: serein
 * @DateTime: 2021/7/27 15:48
 * @Description:
 */
public interface UserRepository  extends JpaRepository<User,Long> {

    /**
     * @param username
     * @param password
     * @return
     */
    User findByUsernameAndPassword(String username, String password);
}
